package com.lfc.flowable.domian.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class ProcessDefinitionDTO {
    private String id;
    private String key;
    private String name;
    private int version;
    private String deploymentId;
    private String resourceName;

    //挂起状态，则返回 true，激活为 false;
    private boolean suspended;

    private String category;

    private String description;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deploymentTime;
}
